<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:24:"./public/user/index.html";i:1542002123;s:32:"./public/user/common/header.html";i:1541562184;s:36:"./public/user/common/header_one.html";i:1542003552;s:32:"./public/user/common/footer.html";i:1541052960;s:28:"./public/user/common/JS.html";i:1540457071;}*/ ?>
	<!DOCTYPE html>
	<html lang="zxx" class="no-js">
	<head>
		<!-- Mobile Specific Meta -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Favicon-->
<link rel="shortcut icon" href="/public/static/img/fav.png">
<!-- Author Meta -->
<meta name="author" content="colorlib">
<!-- Meta Description -->
<meta name="description" content="">
<!-- Meta Keyword -->
<meta name="keywords" content="">
<!-- meta character set -->
<meta charset="UTF-8">
<!-- Site Title -->
<title id="head_title">Blogger</title>

<link href="https://fonts.googleapis.com/css?family=Poppins:100,200,400,300,500,600,700" rel="stylesheet">
<!--
CSS
============================================= -->
<link href="/public/static/plug/layui/css/layui.css" rel="stylesheet" />

<link rel="stylesheet" href="/public/static/css/linearicons.css">
<link rel="stylesheet" href="/public/static/css/font-awesome.min.css">
<link rel="stylesheet" href="/public/static/css/bootstrap.css">
<link rel="stylesheet" href="/public/static/css/owl.carousel.css">
<link rel="stylesheet" href="/public/static/css/main.css">
<link rel="stylesheet" href="/public/static/css/tanchuang.css">

<script src="/public/static/js/user/url.js"></script>
	</head>
		<body>
			<!-- Start Header Area -->
			<link rel="stylesheet" type="text/css" href="/public/static/css/login/normalize.css" />
<link type="text/css" rel="stylesheet" href="/public/static/css/login/style.css" />

<header class="default-header">
    <nav class="navbar navbar-expand-lg navbar-light">
        <div class="container">
            <a class="navbar-brand" href="index.html">
                <img src="/public/static/img/logo.png" alt="">
            </a>
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>

            <div class="collapse navbar-collapse justify-content-end align-items-center" id="navbarSupportedContent">
                <ul class="navbar-nav">
                    <li><a  href="/index.php/admin/index/index">Home首页</a></li>
                    <li><a href="/index.php/admin/index/index#news">News新闻</a></li>
                    <li><a href="/index.php/admin/index/index#travel">Travel旅游</a></li>
                    <li><a href="/index.php/admin/index/index#fashion">fashion时尚</a></li>
                    <li><a href="/index.php/admin/index/index#team">team团队</a></li>

                    <!-- Dropdown -->
                    <li class="dropdown">
                        <a class="dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown">
                            Pages详情
                        </a>
                        <div class="dropdown-menu">
                            <!--<a class="dropdown-item" href="#" onclick="generic()">Single时尚</a>-->
                            <!--<a class="dropdown-item" href="#" onclick="searcha()">Search查询</a>-->
                            <a class="dropdown-item" href="#" onclick="write_blog()">Write写博客</a>
                            <?php if($user == 0): ?>
                            <a class="dropdown-item" id="tc" onclick="tc()" href="#" >login登录</a>
                            <?php endif; if($user != 0): ?>
                            <a class="dropdown-item" href="#" onclick="person()">Personal个人中心</a>
                            <a class="dropdown-item" href="#" onclick="logout()">logout退出</a>
                            <?php endif; ?>
                        </div>
                    </li>
                    <?php if($user != 0): ?>
                    <li>
                        <img style="width: 20px;height: 20px;border-radius: 100%" src="/<?php echo $user['img']; ?>">
                    </li>
                    <li><a href="#" onclick="admin_archive(<?php echo $user['id']; ?>)"><?php echo $user['username']; ?></a></li>
                    <?php endif; ?>
                </ul>
            </div>
        </div>
    </nav>
</header>

<div id="gray"></div>
<div class="popup" id="popup">
    <div class="top_nav" id='top_nav'>
        <div align="center">
            <span>登录账号</span>
            <a class="guanbi"></a>
        </div>
    </div>
    <div class="min">
        <div class="tc_login">
            <div class="left">
                <h4 align="center">手机扫描</h4>
                <div align="center"><img src="/public/static/images/erweima.jpg" width="150" height="150" /></div>
                <dd>
                    <div align="center">扫描二维码登录</div>
                </dd>
            </div>
            <div class="right">
                <form method="POST" name="form_login" target="_top">
                    <div align="center">
                        <a href="">短信快捷登录</a>
                        <i class="icon-mobile-phone"></i>
                        <input type="text" name="name" id="username" required="required" placeholder="用户名" autocomplete="off" class="input_yh">
                        <input type="password" name="pass" id="password" required="required" placeholder="密码" autocomplete="off" class="input_mm">
                    </div>
                    <dd>
                        <div align="center"><a href="">遇到登录问题</a></div>
                    </dd>
                    <div align="center">
                        <input type="submit" id="login" class="button" title="Sign In" value="登录">
                    </div>
                </form>
                <dd>
                    <div align="center"><a href="../../admin/login/register">立即注册</a></div>
                </dd>
                <hr align="center" />
                <div align="center">期待更多功能 </div>
            </div>
        </div>
    </div>
</div>

<script src="/public/static/js/jquery-1.11.0.min.js" type="text/javascript"></script>
<script language="javascript" src="/public/static/js/user/user_login.js"></script>
<script>
    $(function () {
        $('#login').click(function () {
            var username = $('#username').val();
            var password = $('#password').val();
            $("#gray").hide();
            $("#popup").hide();
            userLogin(username,password);
        })
    })

    //窗口效果
    //点击登录class为tc 显示
    function tc() {
        $("#gray").show();
        $("#popup").show();//查找ID为popup的DIV show()显示#gray
        tc_center();
    }

    //点击关闭按钮
    $("a.guanbi").click(function(){
        $("#gray").hide();
        $("#popup").hide();//查找ID为popup的DIV hide()隐藏
    })

    //窗口水平居中
    $(window).resize(function(){
        tc_center();
    });

    function tc_center(){
        var _top=($(window).height()-$(".popup").height())/2;
        var _left=($(window).width()-$(".popup").width())/2;

        $(".popup").css({top:_top,left:_left});
    }


</script>

<script type="text/javascript">
    $(document).ready(function(){

        $(".top_nav").mousedown(function(e){
            $(this).css("cursor","move");//改变鼠标指针的形状
            var offset = $(this).offset();//DIV在页面的位置
            var x = e.pageX - offset.left;//获得鼠标指针离DIV元素左边界的距离
            var y = e.pageY - offset.top;//获得鼠标指针离DIV元素上边界的距离
            $(document).bind("mousemove",function(ev){ //绑定鼠标的移动事件，因为光标在DIV元素外面也要有效果，所以要用doucment的事件，而不用DIV元素的事件

                $(".popup").stop();//加上这个之后

                var _x = ev.pageX - x;//获得X轴方向移动的值
                var _y = ev.pageY - y;//获得Y轴方向移动的值

                $(".popup").animate({left:_x+"px",top:_y+"px"},10);
            });

        });

        $(document).mouseup(function() {
            $(".popup").css("cursor","default");
            $(this).unbind("mousemove");
        });
    })
</script>


			<!-- End Header Area -->

			<!-- start banner Area -->
			<section class="banner-area relative" id="home" data-parallax="scroll" data-image-src="/public/static/img/header-bg.jpg">
				<div class="overlay-bg overlay"></div>
				<div class="container">
					<div class="row fullscreen">
						<div class="banner-content d-flex align-items-center col-lg-12 col-md-12">
							<h1>
								A Discount Toner Cartridge <br>
								Is Better Than Ever.								
							</h1>
						</div>
						<?php if($user != 0): ?>
						<div class="head-bottom-meta d-flex justify-content-between align-items-end col-lg-12">
							<div class="col-lg-6 flex-row d-flex meta-left no-padding">
								<p><span class="lnr lnr-heart"></span> <?php echo $like_com['like']; ?> Likes</p>
								<p><span class="lnr lnr-bubble"></span> <?php echo $like_com['comment']; ?> Comments</p>
							</div>
							<div class="col-lg-6 flex-row d-flex meta-right no-padding justify-content-end">
								<div class="user-meta">
									<h4 class="text-white"><?php echo $user['username']; ?></h4>
									<p><?php echo $user['lasttime']; ?> last login</p>
								</div>
								<img class="img-fluid user-img" style="width: 60px;height: 60px" src="/<?php echo $user['img']; ?>" alt="">
							</div>
						</div>
						<?php endif; ?>
					</div>
				</div>
			</section>
			<!-- End banner Area -->	


			<!-- Start category Area -->
			<section class="category-area section-gap" id="news">
				<div class="container">
					<div class="row d-flex justify-content-center">
						<div class="menu-content pb-70 col-lg-8">
							<div class="title text-center">
								<h1 class="mb-10">Latest News from all categories</h1>
								<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore  et dolore magna aliqua.</p>
							</div>
						</div>
					</div>						
					<div class="active-cat-carusel">
						<?php if(is_array($compose) || $compose instanceof \think\Collection || $compose instanceof \think\Paginator): $i = 0; $__LIST__ = $compose;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$c): $mod = ($i % 2 );++$i;if($c['pid'] == 1): ?>
						<div class="item single-cat">
							<img style="width: 340px;height: 210px" src="/<?php echo $c['img']; ?>" alt="">
							<!--<p class="date">10 Jan 2018</p>-->
							<p class="date"><?php echo $c['a']; ?></p>
							<h4><a href="#" onclick="articleInfo(<?php echo $c['id']; ?>)"><?php echo $c['title']; ?></a></h4>
						</div>
						<?php endif; endforeach; endif; else: echo "" ;endif; ?>
					</div>												
				</div>	
			</section>
			<!-- End category Area -->
			
			<!-- Start travel Area -->
			<section class="travel-area section-gap" id="travel">
				<div class="container">
					<div class="row d-flex justify-content-center">
						<div class="menu-content pb-70 col-lg-8">
							<div class="title text-center">
								<h1 class="mb-10">Hot topics from Travel Section</h1>
								<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore  et dolore magna aliqua.</p>
							</div>
						</div>
					</div>
					<!--正文 start-->
					<div class="row">
						<!--左边-->
						<div class="col-lg-6 travel-left">
							<?php if(is_array($travel) || $travel instanceof \think\Collection || $travel instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($travel) ? array_slice($travel,0,2, true) : $travel->slice(0,2, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$t): $mod = ($i % 2 );++$i;?>
							<div class="single-travel media pb-70">
							  <img class="img-fluid d-flex  mr-3" src="/public/static/img/t1.jpg" alt="">
							  <div class="dates">
							  	<span><?php echo $t['b']['day']; ?></span>
							  	<p><?php echo $t['b']['moth']; ?></p>
							  </div>
							  <div class="media-body align-self-center">
							    <h4 class="mt-0"><a href="#" onclick="articleInfo(<?php echo $t['id']; ?>)"><?php echo $t['title']; ?></a></h4>
							    <p><?php echo $t['short_content']; ?></p>
								<div class="meta-bottom d-flex justify-content-between">
									<p><span class="lnr lnr-heart"></span> <?php echo $t['likes']; ?> Likes</p>
									<p><span class="lnr lnr-bubble"></span> <?php echo $t['comment']; ?> Comments</p>
								</div>							 
							  </div>
							</div>
							<?php endforeach; endif; else: echo "" ;endif; ?>
						</div>
						<!--右边-->
						<div class="col-lg-6 travel-right">
							<?php if(is_array($travel) || $travel instanceof \think\Collection || $travel instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($travel) ? array_slice($travel,2,2, true) : $travel->slice(2,2, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$t): $mod = ($i % 2 );++$i;?>
							<div class="single-travel media pb-70">
							  <img class="img-fluid d-flex  mr-3" src="/public/static/img/t2.jpg" alt="">
								<div class="dates">
									<span><?php echo $t['b']['day']; ?></span>
									<p><?php echo $t['b']['moth']; ?></p>
								</div>
								<div class="media-body align-self-center">
									<h4 class="mt-0"><a href="#" onclick="articleInfo(<?php echo $t['id']; ?>)"><?php echo $t['title']; ?></a></h4>
									<p><?php echo $t['short_content']; ?></p>
								<div class="meta-bottom d-flex justify-content-between">
									<p><span class="lnr lnr-heart"></span> <?php echo $t['likes']; ?> Likes</p>
									<p><span class="lnr lnr-bubble"></span> <?php echo $t['comment']; ?> Comments</p>
								</div>							 
							  </div>
							</div>
							<?php endforeach; endif; else: echo "" ;endif; ?>
						</div>

						<a href="#" onclick="generic(2)"
						   class="primary-btn load-more pbtn-2 text-uppercase mx-auto mt-60">Load More </a>
					</div>
					<!--正文 end-->
				</div>					
			</section>
			<!-- End travel Area -->

			<div class="tlinks">Collect from <a href="http://www.cssmoban.com/"  title="留言板">留言板</a></div>

			<!-- Start fashion Area -->
			<section class="fashion-area section-gap" id="fashion">
				<div class="container">
					<div class="row d-flex justify-content-center">
						<div class="menu-content pb-70 col-lg-8">
							<div class="title text-center">
								<h1 class="mb-10">Fashion News This Week</h1>
								<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore  et dolore magna aliqua.</p>
							</div>
						</div>
					</div>
					<div class="row">
						<?php if(is_array($fashion) || $fashion instanceof \think\Collection || $fashion instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($fashion) ? array_slice($fashion,0,4, true) : $fashion->slice(0,4, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$f): $mod = ($i % 2 );++$i;?>
						<div class="col-lg-3 col-md-6 single-fashion">
							<img class="img-fluid" style="width: 500px;height: 200px" src="/<?php echo $f['img']; ?>" alt="">
							<p class="date"><?php echo $f['a']; ?></p>
							<h4><a href="#" onclick="articleInfo(<?php echo $f['id']; ?>)"><?php echo $f['title']; ?></a></h4>
							<p><?php echo $f['short_content']; ?></p>
							<div class="meta-bottom d-flex justify-content-between">
								<p><span class="lnr lnr-heart"></span> <?php echo $f['likes']; ?> Likes</p>
								<p><span class="lnr lnr-bubble"></span> <?php echo $f['comment']; ?> Comments</p>
							</div>
						</div>
						<?php endforeach; endif; else: echo "" ;endif; ?>

						<a href="#" onclick="generic(3)"
						   class="primary-btn load-more pbtn-2 text-uppercase mx-auto mt-60">Load More </a>
					</div>
				</div>
			</section>
			<!-- End fashion Area -->
			
			<!-- Start team Area -->
			<section class="team-area section-gap" id="team">
				<div class="container">
					<div class="row d-flex justify-content-center">
						<div class="menu-content pb-70 col-lg-8">
							<div class="title text-center">
								<h1 class="mb-10">About Blogger Team</h1>
								<p>Who are in extremely love with eco friendly system.</p>
							</div>
						</div>
					</div>						
					<div class="row justify-content-center d-flex align-items-center">
						<div class="col-lg-6 team-left">
							<p>
								inappropriate behavior is often laughed off as “boys will be boys,” women face higher conduct standards especially in the workplace. That’s why it’s crucial that, as women, our behavior on the job is beyond reproach. inappropriate behavior is often laughed off as “boys will be boys,” women face higher conduct standards especially in the workplace. That’s why it’s crucial that.
							</p>
							<p>
								inappropriate behavior is often laughed off as “boys will be boys,” women face higher conduct standards especially in the workplace. That’s why it’s crucial that, as women.
							</p>
						</div>
						<div class="col-lg-6 team-right d-flex justify-content-center">
							<div class="row active-team-carusel">
								<div class="single-team">
								    <div class="thumb">
								        <img class="img-fluid" src="/public/static/img/team1.jpg" alt="">
								        <div class="align-items-center justify-content-center d-flex">
											<a href="#"><i class="fa fa-facebook"></i></a>
											<a href="#"><i class="fa fa-twitter"></i></a>
											<a href="#"><i class="fa fa-linkedin"></i></a>
								        </div>
								    </div>
								    <div class="meta-text mt-30 text-center">
									    <h4>Dora Walker</h4>
									    <p>Senior Core Developer</p>									    	
								    </div>
								</div>
								<div class="single-team">
								    <div class="thumb">
								        <img class="img-fluid" src="/public/static/img/team2.jpg" alt="">
								        <div class="align-items-center justify-content-center d-flex">
											<a href="#"><i class="fa fa-facebook"></i>facebook</a>
											<a href="#"><i class="fa fa-twitter"></i>QQ</a>
											<a href="#"><i class="fa fa-linkedin"></i>weChat</a>
								        </div>
								    </div>
								    <div class="meta-text mt-30 text-center">
									    <h4>Lena Keller</h4>
									    <p>Creative Content Developer</p>			    	
								    </div>
								</div>													
							</div>
						</div>
					</div>
				</div>	
			</section>
			<!-- End team Area -->
			
			<!-- start footer Area -->
			<footer class="footer-area section-gap">
    <div class="container">
        <div class="row">
            <div class="col-lg-3  col-md-12">
                <div class="single-footer-widget">
                    <h6>友情链接</h6>
                    <ul class="footer-nav">
                        <li><a href="http://angryshan.com/admin/login/login">珊珊留言板</a></li>
                        <li><a href="https://www.baidu.com">百度</a></li>
                        <li><a href="#">Power Tools</a></li>
                        <li><a href="#">Marketing Service</a></li>
                    </ul>
                </div>
            </div>
            <div class="col-lg-6  col-md-12">
                <div class="single-footer-widget newsletter">
                    <h6>Newsletter</h6>
                    <p>You can trust us. we only send promo offers, not a single spam.</p>
                    <div id="mc_embed_signup">
                        <form target="_blank" novalidate action="#/subscribe/post?u=1462626880ade1ac87bd9c93a&amp;id=92a4423d01" method="get" class="form-inline">

                            <div class="form-group row" style="width: 100%">
                                <div class="col-lg-8 col-md-12">
                                    <input name="EMAIL" placeholder="Enter Email" onfocus="this.placeholder = ''" onblur="this.placeholder = 'Enter Email '" required="" type="email">
                                    <div style="position: absolute; left: -5000px;">
                                        <input name="b_36c4fd991d266f23781ded980_aefe40901a" tabindex="-1" value="" type="text">
                                    </div>
                                </div>

                                <div class="col-lg-4 col-md-12">
                                    <button class="nw-btn primary-btn">Subscribe<span class="lnr lnr-arrow-right"></span></button>
                                </div>
                            </div>
                            <div class="info"></div>
                        </form>
                    </div>
                </div>
            </div>
            <div class="col-lg-3  col-md-12">
                <div class="single-footer-widget mail-chimp">
                    <h6 class="mb-20">Instragram Feed</h6>
                    <ul class="instafeed d-flex flex-wrap">
                        <li><img src="/public/static/img/i1.jpg" alt=""></li>
                        <li><img src="/public/static/img/i2.jpg" alt=""></li>
                        <li><img src="/public/static/img/i3.jpg" alt=""></li>
                        <li><img src="/public/static/img/i4.jpg" alt=""></li>
                        <li><img src="/public/static/img/i5.jpg" alt=""></li>
                        <li><img src="/public/static/img/i6.jpg" alt=""></li>
                        <li><img src="/public/static/img/i7.jpg" alt=""></li>
                        <li><img src="/public/static/img/i8.jpg" alt=""></li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="row footer-bottom d-flex justify-content-between">

            <!--<p class="col-lg-8 col-sm-12 footer-text">Copyright &copy;<script>document.write(new Date().getFullYear());</script> All rights reserved | made with Colorlib -  More Templates  - Collect from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a></p>-->

            <div class="col-lg-4 col-sm-12 footer-social">
                <a href="#"><i class="fa fa-facebook"></i></a>
                <a href="#"><i class="fa fa-twitter"></i></a>
                <a href="#"><i class="fa fa-dribbble"></i></a>
                <a href="#"><i class="fa fa-behance"></i></a>
            </div>
        </div>
    </div>
</footer>
			<!-- End footer Area -->

			<script src="/public/static/js/vendor/jquery-2.2.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="/public/static/js/vendor/bootstrap.min.js"></script>
<script src="/public/static/js/jquery.ajaxchimp.min.js"></script>
<script src="/public/static/js/parallax.min.js"></script>
<script src="/public/static/js/owl.carousel.min.js"></script>
<script src="/public/static/js/jquery.magnific-popup.min.js"></script>
<script src="/public/static/js/jquery.sticky.js"></script>
<script src="/public/static/js/main.js"></script>
<script src="/public/static/js/user/jump.js"></script>

<script src="/public/static/plug/layui/layui.js" type="text/javascript" charset="utf-8"></script>
<script src="/public/static/js/user/func.js"></script>
<script src="/public/static/js/user/post_area.js"></script>
<script src="/public/static/js/user/comment.js"></script>
<script src="/public/static/js/user/jump.js"></script>

<script src="/public/static/js/common/base64.js"></script>
<script src="/public/static/js/common/json.js"></script>
<script src="/public/static/js/common/md5.js"></script>
<script src="/public/static/js/common/sign.js"></script>
		<script src="/public/static/js/user/compose_list.js"></script>
		</body>
	</html>
